package cn.source.system.domain;

import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 版本包信息对象 deyu_version
 * 
 * @author deyucare.com
 * @date 2025-02-20
 */
public class DeyuVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 当前版本包名 */
    @Excel(name = "当前版本包名")
    private String name;

    /** 当前版本包 */
    @Excel(name = "当前版本包")
    private String packageUrl;

    /** 当前版本号 */
    @Excel(name = "当前版本号")
    private String number;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPackageUrl(String packageUrl) 
    {
        this.packageUrl = packageUrl;
    }

    public String getPackageUrl() 
    {
        return packageUrl;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("packageUrl", getPackageUrl())
            .append("number", getNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
